 <!-- Navbar
    ================================================== -->
 <div class="navbar navbar-fixed-top">
   <div class="navbar-inner">
     <div class="container">
       <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
         <span class="icon-bar"></span>
         <span class="icon-bar"></span>
         <span class="icon-bar"></span>
       </a>
       <a class="brand" href="__ROOT__">ThinkCMF</a>
       <div class="nav-collapse collapse" id="main-menu">
         <php>
			$effected_id="";
		  	$filetpl="<a href='\\$href' target='\\$target'>\\$label</a>";
		  	$foldertpl="<a href='\\$href' target='\\$target' class='dropdown-toggle' data-toggle='dropdown'>\\$label <b class='caret'></b></a>";
		  	$ul_class="dropdown-menu" ;
		  	$li_class="" ;
		  	$style="nav";
		  	$showlevel=6;
		  	$dropdown='dropdown';
		  	echo sp_get_menu("main",$effected_id,$filetpl,$foldertpl,$ul_class,$li_class,$style,$showlevel,$dropdown);
		</php>
        <ul class="nav pull-right" id="main-menu-right">
          <li><a rel="tooltip" target="_blank" href="http://www.thinkcmf.com/" title="ThinkCMF"><i class="fa fa-share-alt"></i>ThinkCMF</a></li>
        </ul>
       </div>
     </div>
   </div>
 </div>